var pageSize = 11; // 定义每页显示n条数据 后台接口分页定义n-1

function dataListIndex(jobCat) {
	dataList(jobCat,"#variety-content","variety-template");
}

function dataList(jobCategory, content, template) {
	datagrid = $(content).datagrid({
        pageSize: pageSize,
        queryParams: "jobCategory="+jobCategory,
        url: "../../job/listPage.do",
        pagination: "pagination",
        scriptHtml: template,
        table: "eTableRow",
        isPagination: true
    });
}

function myClick(id){
	window.location.href = '../listPage/jobDetail.html?id='+id;
	//window.location.href = 'javascript:;';
}